﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <script type="text/javascript" src="jquery.min.js"></script>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>

        <input id="Submit1" type="button" value="submit" />
<script type="text/javascript">

$(document).ready(function(){
    $("#Submit1").click(function () {
        var a = '{"tid":"0","id":"道外","oid":"123124213123","ptime":"2016-12-12 12:12:12","paytype":"1","ys":"10000","ss":"10000","zl":"10000","sl":"时尚美味","order":[{"id":"1","goodsname":"红酒","goodsnum":"1","goodsp":"7800"},{"id":"2","goodsname":"葵花油","goodsnum":"1","goodsp":"1400"}]}';
        $.ajax({
            url: 'http://127.0.0.1:31400/?a='+ encodeURI(encodeURI(a)),
            success: function (data) {
            }
        });
    });
});
</script>
</body>
</html>

<!--http://127.0.0.1:31400/?a={%22id%22%3A%22%E9%81%93%E5%A4%96%22%2C%22ptime%22%3A%222016-12-12+12%3A12%3A12%22%2C%22paytype%22%3A%221%22%2C%22ys%22%3A%2210000%22%2C%22ss%22%3A%2210000%22%2C%22zl%22%3A%2210000%22%2C%22sl%22%3A%22%E6%97%B6%E5%B0%9A%E7%BE%8E%E5%91%B3%22%2C%22order%22%3A[{%22id%22%3A%221%22%2C%22goodsname%22%3A%22%E7%BA%A2%E9%85%92%22%2C%22goodsnum%22%3A%221%22%2C%22goodsp%22%3A%227800%22}%2C{%22id%22%3A%222%22%2C%22goodsname%22%3A%22%E8%91%B5%E8%8A%B1%E6%B2%B9%22%2C%22goodsnum%22%3A%221%22%2C%22goodsp%22%3A%221400%22}]}-->

